﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="Honestysoft.Financing.WebUI.Apply.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script language="javascript" type="text/javascript">
        function locking() {
            document.getElementById("divImg").innerHTML = "<img src='../images/loading1.gif' alt='' />";
            document.all.ly.style.display = "block";
            document.all.ly.style.width = document.body.clientWidth;
            document.all.ly.style.height = document.body.clientHeight;
            document.all.Layer2.style.display = 'block';
            
        }
        function Lock_CheckForm(theForm) {
            document.all.ly.style.display = 'none';
            document.all.Layer2.style.display = 'none';
            location.replace(location.href);    //关闭后刷新此页面
            return false;
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="ly" style="position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
z-index: 2; left: 0px; display: none;">
</div>
<!--浮层框架开始-->
<div id="Layer2" align="center" style="position: absolute; z-index: 3; left: expression((document.body.offsetWidth-540)/2); top: expression((document.body.offsetHeight-170)/2);
background-color: #fff; display: none;" >
<table width="540" border="0" cellpadding="0" cellspacing="0" style="border: 0   solid   #e7e3e7;
border-collapse: collapse">
<tr>
<td style="background-color: #73A2d6; color: #fff; padding-left: 4px; padding-top: 2px;
font-weight: bold; font-size: 14px;" height="27" valign="middle">
[&nbsp;警&nbsp;告&nbsp;]
</td>
</tr>
<tr>
<td height="130" align="center">
<div id='divImg'></div>

<span style="font-size:12pt">正在生成内部审核作业表，请稍候……</span>

</td>
</tr>
</table>
</div>
<!--浮层框架结束-->


    <asp:TextBox runat="server" ID="txtSN"></asp:TextBox><asp:Button runat="server" 
            ID="btn1" onclick="btn1_Click" />
    <asp:TextBox runat="server" ID="txtResult"></asp:TextBox>
        <br />
        <br />
        <asp:TextBox ID="txtA" runat="server" Width="307px">9E1010E1-2BB7-489D-B405-220CB48EE3AF</asp:TextBox>
        <asp:Button ID="btnToA" runat="server"
            Text="To Excel A" OnClientClick="locking();" onclick="btnToA_Click" style="height: 21px" /><br />
            <asp:TextBox ID="txtB" runat="server" Width="307px">5FF78FA1-F384-40CC-8357-142BDB1449B9</asp:TextBox>
        <asp:Button ID="btnToB" runat="server"
            Text="To Excel B" OnClientClick="locking();" onclick="btnToB_Click" /><br />
            <asp:TextBox ID="txtC" runat="server" Width="307px">6FFE41A5-6A76-44A9-8F1D-8BCC08226089</asp:TextBox>
        <asp:Button ID="btnToC" runat="server"
            Text="To Excel C" OnClientClick="locking();" onclick="btnToC_Click"  /><br />
            <a href="#" onclick="window.open('../Reports/R001_1.pdf');">F999-C001-V002-window.open</a>
            <a href="#" onclick="">在线打印F999-C001-V002</a>
    </div>

    <OBJECT 
id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0></OBJECT>
<input 
type=button value=打印 onclick=document.all.WebBrowser.ExecWB(6,1)>
<input
type=button value=直接打印 onclick=document.all.WebBrowser.ExecWB(6,6)>
<input
type=button value=页面设置 onclick=document.all.WebBrowser.ExecWB(8,1)>
<input 
type=button value=打印预览 onclick=document.all.WebBrowser.ExecWB(7,1)>

<asp:Button runat="server" Text="测试打开EXCEL打印预览" ID="btnPrintView" 
        onclick="btnPrintView_Click" />

    </form>
</body>
</html>
